package cn.com.zetatech.loader.entity;

import lombok.Data;

import java.util.Objects;

/**
 * @author jian.chen@zetatech.com.cn
 * @Description TODO
 * @Date 2024/8/19 8:55
 */
@Data
public class Fields {

    public static String transformWafersId(Object waferId) {
        if (Objects.nonNull(waferId)) {
            return waferId.toString().replace("/", "0");
        }
        return null;
    }

    public static String transformDieX(Object dieX) {
        if (Objects.nonNull(dieX)) {
            return dieX.toString()+"op";
        }
        return null;
    }
}
